/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.click.app.dao;

import com.click.app.model.Distinctive;
import com.click.app.model.Material;
import java.util.List;


/**
 *
 * @author orgale
 */
public interface DistinctiveDao extends GenericDao<Distinctive, Long> {
 public List<Distinctive> findById(Long id);

    List<Distinctive> findByMaterial(Material material);

    List<Distinctive> findDistinctives();

    List<String> distinctivesNames();

    List<Distinctive> findDistinctivesName(String name);

    List<Distinctive> findDistinctivesByValue(String value);

    List<Distinctive> findDistinctivesByNameAndValue(String name, String value);
}
